package com.ricohgag.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ricohgag.entity.UserAddress;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 肖晖
 * @since 2018-08-25
 */
public interface UserAddressService extends IService<UserAddress> {
    public List<UserAddress> selectAddressByUserId(Integer id) throws Exception;

    public UserAddress selectOneById(Integer id) throws Exception;
    public boolean insert(UserAddress userAddress) throws Exception;
    public boolean update(UserAddress userAddress) throws Exception;
    public boolean delete(Integer id) throws Exception;
}
